package com.design_patterns.proxy.spring;

import java.util.Random;

/**
 * @author: 李德才
 * @description:
 * @create: 2020-08-30 20:31
 **/
public class Brush {
    public void drawing() {
        System.err.println("画笔开始画画");
        try {
            Thread.sleep(new Random().nextInt(5000));
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.err.println("画笔绘画完成");
    }
}

